/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package beans;

/**
 *
 * @author Fam. Tapia
 */
public class UserBean {

    int userId;

    public int getUserId() {
        return userId;
    }

    public void setUserId(int userId) {
        this.userId = userId;
    }

    String userFirstName;

    public String getUserFirstName() {
        return userFirstName;
    }

    public void setUserFirstName(String userFirstName) {
        this.userFirstName = userFirstName;
    }

    String userLastName1;

    public String getUserLastName1() {
        return userLastName1;
    }

    public void setUserLastName1(String userLastName1) {
        this.userLastName1 = userLastName1;
    }

    String userLastName2;

    public String getUserLastName2() {
        return userLastName2;
    }

    public void setUserLastName2(String userLAstName2) {
        this.userLastName2 = userLAstName2;
    }

    Object userFingerPring;

    public Object getUserFingerPring() {
        return userFingerPring;
    }

    public void setUserFingerPring(Object fingerPrint) {
        this.userFingerPring = fingerPrint;
    }

    String userEmail;

    public String getUserEmail() {
        return userEmail;
    }

    public void setUserEmail(String userEmail) {
        this.userEmail = userEmail;
    }

    String userAccountName;

    public String getUserAccountName() {
        return userAccountName;
    }

    public void setUserAccountName(String userAccountName) {
        this.userAccountName = userAccountName;
    }

    String userAccountPassword;

    public String getUserAccountPassword() {
        return userAccountPassword;
    }

    public void setUserAccountPassword(String userAccountPassword) {
        this.userAccountPassword = userAccountPassword;
    }

    int userTypeId;

    public int getUserTypeId() {
        return userTypeId;
    }

    public void setUserTypeId(int userTypeId) {
        this.userTypeId = userTypeId;
    }

    private double amount;

    /**
     * @return the amount
     */
    public double getAmount() {
        return amount;
    }

    /**
     * @param amount the amount to set
     */
    public void setAmount(double amount) {
        this.amount = amount;
    }

    @Override
     public String toString(){
        String space="  ";
        String id=this.getUserId()+space;
        String firstName= this.getUserFirstName()+space;
        String lastName1= this.getUserLastName1()+space;
        String lastName2= this.getUserLastName2()+space;
      //  String fingerPring= this.getUserFingerPring()+space;
        String email= this.getUserEmail()+space;
        String accountName= this.getUserAccountName()+space;
        String accountPassword= this.getUserAccountPassword()+space;
        String userType= Integer.toString(getUserTypeId()) +space;
        //String user=id+firstName+lastName1+lastName2+fingerPring+email+accountName+accountPassword+userType;
        String user=id+firstName+lastName1+lastName2+email+accountName+accountPassword+userType;
        return user;
    }

}

